package com.zlp.mybatisplus.mybatisplus.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 活动关联sku
 * </p>
 *
 * @author zhulaiping
 * @since 2022-01-25
 */
@TableName("bcrm_activity_sku")
public class ActivitySku extends Model<ActivitySku> {

    private static final long serialVersionUID = 1L;

    private String id;

    /**
     * 活动id
     */
    @TableField("activity_id")
    private String activityId;

    /**
     * sku的id
     */
    @TableField("sku_id")
    private String skuId;

    @TableField("created_at")
    private Date createdAt;

    @TableField("deleted_at")
    private Date deletedAt;

    @TableField("updated_at")
    private Date updatedAt;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }
    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
    public Date getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(Date deletedAt) {
        this.deletedAt = deletedAt;
    }
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ActivitySku{" +
        "id=" + id +
        ", activityId=" + activityId +
        ", skuId=" + skuId +
        ", createdAt=" + createdAt +
        ", deletedAt=" + deletedAt +
        ", updatedAt=" + updatedAt +
        "}";
    }
}
